package com.scanner.bean;

import com.scanner.hardware.adapter.MotoAllCodeAdapter;
import com.chad.library.adapter.base.entity.MultiItemEntity;

public class CodeMulitContent implements MultiItemEntity{
    private String codeName;
    private byte[] codeOpen;
    private byte[] codeClose;
    private int codeState;

    public String getCodeName() {
        return codeName;
    }

    public void setCodeName(String codeName) {
        this.codeName = codeName;
    }

    public byte[] getCodeOpen() {
        return codeOpen;
    }

    public void setCodeOpen(byte[] codeOpen) {
        this.codeOpen = codeOpen;
    }

    public byte[] getCodeClose() {
        return codeClose;
    }

    public void setCodeClose(byte[] codeClose) {
        this.codeClose = codeClose;
    }

    public int getCodeState() {
        return codeState;
    }

    public void setCodeState(int codeState) {
        this.codeState = codeState;
    }

    @Override
    public int getItemType() {
        return MotoAllCodeAdapter.TYPE_LEVEL_1;
    }
}
